package com.zutassociation.system.service;


import com.zutassociation.system.domain.Pick;

import java.util.List;

/**
 * 社联风采 服务层
 *
 * @author 黄玉东
 * @version 1.0
 * @date 2021/3/18 17:05
 */
public interface PickService {

    /**
     * 查询社联风采信息
     *
     * @param pickId 社联风采ID
     * @return 社联风采信息
     */
    public Pick selectPickById(Long pickId);

    /**
     * 查询上一条信息
     *
     * @param pickId 社联风采ID
     * @return 社联风采信息
     */
    public Pick selectUpPick(Long pickId);

    /**
     * 查询下一条信息
     *
     * @param pickId 社联风采ID
     * @return 社联风采信息
     */
    public Pick selectNextPick(Long pickId);

    /**
     * 查询社联风采列表
     *
     * @param pick 社联风采信息
     * @return 社联风采集合
     */
    public List<Pick> selectPickListClick(Pick pick);

    /**
     * 查询社联风采列表
     *
     * @param pick 社联风采信息
     * @return 社联风采集合
     */
    public List<Pick> selectPickList(Pick pick);

    /**
     * 新增社联风采
     *
     * @param pick 社联风采信息
     * @return 结果
     */
    public int insertPick(Pick pick);

    /**
     * 修改社联风采
     *
     * @param pick 社联风采信息
     * @return 结果
     */
    public int updatePick(Pick pick);

    public int updatePickClick(Pick pick);

    /**
     * 删除社联风采信息
     *
     * @param pickId 社联风采ID
     * @return 结果
     */
    public int deletePickById(Long pickId);

    /**
     * 批量删除社联风采信息
     *
     * @param pickIds 需要删除的社联风采ID
     * @return 结果
     */
    public int deletePickByIds(Long[] pickIds);
}
